import 'package:flutter/material.dart';
import 'package:industry_net/base/common/util.dart';
import 'package:industry_net/pages/msg/chat/chat/widgets/config.dart';
import 'package:industry_net/pages/msg/chat/models/chat.dart';

class ChatTimeline extends StatelessWidget {
  const ChatTimeline({Key? key, required this.md}) : super(key: key);
  final ChatModel md;
  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      child: Text(
        md.msg ?? '',
        style: TextStyle(color: ChatConfig.timelineColor, fontSize: font13),
      ),
    );
  }
}
